﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Contrib.DecoratorField.Settings
{
    public enum HtmlTagDisplay
    {
        div,
        span,
        a,
        aside,
        audio,
        br,
        embed,
        fieldset,
        iframe,
        img,
        p,
        time,
        track,
        video
    }

    /// <summary>
    ///  Display mode
    /// </summary>
    public enum DecoMode
    {
        full, // full html tag
        begin,// only the begin tag, another field with corresponding end tag will be necessary
        end // must have a matching begin field inserted before
    }

    public class DecoratorFieldSettings
    {
        public DecoMode Mode { get; set; }
        public HtmlTagDisplay HtmlTag { get; set; }
        public bool  HasAttributes{ get; set; }
        public string Attributes { get; set; }
        public string CssClass { get; set; }
        public bool HasContent { get; set; }
        public string TagContent { get; set; }
    }
}
